using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for ThayGiaoBL
/// </summary>
namespace BusinessLogic 
{
    public class ThayGiaoBL 
    {
    	#region Private Variables
		ThayGiaoDAL objThayGiaoDAL;
		#endregion
		
        #region Public Constructors
        public ThayGiaoBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objThayGiaoDAL=new ThayGiaoDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(ThayGiao objThayGiao)
        {
            return objThayGiaoDAL.Insert(objThayGiao);
        }

        public int Update(ThayGiao objThayGiao)
        {
             return objThayGiaoDAL.Update(objThayGiao);

        }

        public int Delete(ThayGiao objThayGiao)
        {
             return objThayGiaoDAL.Delete(objThayGiao);

        }

         public int DeleteAll()
        {
             return objThayGiaoDAL.DeleteAll();
        }

        public ThayGiao Select(ThayGiao objThayGiao)
        {
            return objThayGiaoDAL.Select(objThayGiao);
        }

        public ArrayList SelectAllToArray( )
        {
         return objThayGiaoDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objThayGiaoDAL.SelectAll();
        }


     
#endregion          
    
    }

}
